package com.qf.service;

import com.qf.pojo.CartDto;
import com.qf.pojo.TbOrder;

import java.util.List;
import java.util.Map;

/**
 * Create by 周志豪 on 2022/8/20  15:02
 *
 * @authoe 周志豪
 * @veision 1.0
 * //TODO  想好了再去做
 * @since 1.0
 */

public interface OrderService {

    Map createOrder(Long userId, Long addressId, CartDto cartDto);

    int updateOrderStaus(String oid, String status);

    List<TbOrder> findByUserId(Long userId);
}
